home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 8_10.lha / 8_10 / 8_10c1.h < prev    next >
Text File  |  1993-08-08  |  448b  |  20 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. lass randomOBJ
  6.  
  7.    eFILE *rfp;
  8.    void (*rdrfnc)(OBJ *);
  9.    void (*wtrfnc)(OBJ *);
  10.    friend OBJrandomloc;
  11.    OBJrandomloc operator=(OBJ newobj);
  12.  
  13. ublic:
  14.    randomOBJ(char *filename,
  15. void (*)(OBJ*) = 0, void (*)(OBJ*) = 0);
  16.    ~randomOBJ();
  17.    int openedokay();
  18.    OBJrandomloc operator[](long offset);
  19. ;
  20.